<?php
/**
 * Implements this interface and define the function that operate with the
 * Facebook social network.
 * 
 * The social-functions (like updateStatus()) operate directly with the social network
 * and public the information about the extended Object as the function are implemented. 
 * 
 * @author Matteo Vigoni <mattevigo@gmail.com>
 *
 */
interface FacebookInterface
{	
	public function setFacebook( Facebook $f );
	
	// SOCIAL FUNTIONS //////////////////////////////////////////////////////////////////
	
	/**
	 * Update the Facebook status ('What is in your mind?')
	 * 
	 * @param User $usr the User object
	 * @return true if the post success
	 * 			false otherwise
	 */
	public function updateStatus( User $usr );
}